You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Psy" timestamp="2021-08-25T14:59:48Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">&lt;center&gt;This is (going to be) the '''psy'''che's wi'''ki''', where various bits of musings on (mainly) psychology&lt;br&gt; and philosophy, originally from a physical notebook, are uploaded and categorized.
&lt;/center&gt;


&lt;categorytree mode=all style=&quot;float:left; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;&quot;&gt;Psychology&lt;/categorytree&gt;
&lt;categorytree mode=all style=&quot;float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;&quot;&gt;Philosophy&lt;/categorytree&gt;
&lt;categorytree mode=all style=&quot;float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;&quot;&gt;Poetic prose&lt;/categorytree&gt;

[[Image:The enchanted castle.jpg|center|200px]]













&lt;center&gt;&lt;br/&gt;&lt;small&gt;(Some entries are duplicated due to their belonging to multiple categories at once.)&lt;/small&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>